package com.ruoyi.mine.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 我的传承对象 my_inherit
 * 
 * @author ruoyi
 * @date 2024-07-29
 */
public class MyInherit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表ID */
    private Long inheritId;

    /** 传承请求者ID */
    @Excel(name = "传承请求者ID")
    private Long inheritUserId;

    /** 传承项目ID */
    @Excel(name = "传承项目ID")
    private Long inheritAllId;

    /** 非遗传人ID */
    @Excel(name = "非遗传人ID")
    private Long inheritMasterId;

    public void setInheritId(Long inheritId) 
    {
        this.inheritId = inheritId;
    }

    public Long getInheritId() 
    {
        return inheritId;
    }
    public void setInheritUserId(Long inheritUserId) 
    {
        this.inheritUserId = inheritUserId;
    }

    public Long getInheritUserId() 
    {
        return inheritUserId;
    }
    public void setInheritAllId(Long inheritAllId) 
    {
        this.inheritAllId = inheritAllId;
    }

    public Long getInheritAllId() 
    {
        return inheritAllId;
    }
    public void setInheritMasterId(Long inheritMasterId) 
    {
        this.inheritMasterId = inheritMasterId;
    }

    public Long getInheritMasterId() 
    {
        return inheritMasterId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("inheritId", getInheritId())
            .append("inheritUserId", getInheritUserId())
            .append("inheritAllId", getInheritAllId())
            .append("inheritMasterId", getInheritMasterId())
            .toString();
    }
}
